package com.aaa.aop1.service.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @author:LiWei
 * @date:2022年11月11日15:23
 */
@RestController
@RequestMapping("/aop")
public class HelloController {

    @GetMapping("getTest")
    public String getTest(){
        System.out.println("==================================");
        return "getTest";
    }

    @PostMapping("postTest")
    public String postTest(){
        System.out.println("~~~~~~~~~~~~~~~~~~~~");
        return "getTest";
    }
}
